<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
		
			document.write("<table border='1'>")
			for(var a = 1; a <= 9;a++ ){
				document.write("<tr>")
				for(var b = 1;b<=a;b++){
					document.write("<td>")
					document.write(a,"*",b,"=",(a*b))
					document.write("</td>")
				}
				for(var c=9;c>a;c--){
					document.write("<td>"+"&nbsp;"+"</td>")
				}
				document.write("</tr>")
			}
			
			
			document.write("<table border='1'>")
			for(var d = 9; d >= 1;d-- ){
				document.write("<tr>")
				for(var e = 1;e<=d;e++){
					document.write("<td>")
					document.write(d,"*",e,"=",(d*e))
					document.write("</td>")
				}
				for(var f=9;f>d;f--){
					document.write("<td>"+"&nbsp;"+"</td>")
				}
				document.write("</tr>")
			}
			
			
			document.write("<table border='1'>")
			for(var a = 1; a <= 9;a++ ){
				document.write("<tr>")
				
				
				for(var c=9;c>a;c--){
					document.write("<td>"+"&nbsp;"+"</td>")
				}
				for(var b = 1;b<=a;b++){
					document.write("<td>")
					document.write(a,"*",b,"=",(a*b))
					document.write("</td>")
				}
				document.write("</tr>")
			}
			
			
			document.write("<table border='1'>")
			for(var d = 9; d >= 1;d-- ){
				document.write("<tr>")
				for(var f=9;f>d;f--){
					document.write("<td>"+"&nbsp;"+"</td>")
				}
				for(var e = 1;e<=d;e++){
					document.write("<td>")
					document.write(d,"*",e,"=",(d*e))
					document.write("</td>")
				}
				document.write("</tr>")
			}

		</script>
	</body>
</html>
